﻿@{
    ViewBag.Title = "AllRoles";
}

@{
}

<h2>所有角色</h2>

<table>
    <tr>
    <th>
        点击查看角色中所有用户
    </th>
    </tr>
@foreach (var item in ViewBag.AllRoles)
{
    <tr>
    <td>
        @Html.ActionLink(item as string, "UsersInRole", new { role = item })
    </td>
    </tr> 
}
</table>


